3.2159 \(\int \frac{(a+b \sqrt{x})^{10}}{x^2} \, dx\)

Optimal. Leaf size=123 \[ 168 a^5 b^5 x^{3/2}+105 a^4 b^6 x^2+48 a^3 b^7 x^{5/2}+15 a^2 b^8 x^3+240 a^7 b^3 \sqrt{x}+210 a^6 b^4 x+45 a^8 b^2 \log (x)-\frac{20 a^9 b}{\sqrt{x}}-\frac{a^{10}}{x}+\frac{20}{7} a b^9 x^{7/2}+\frac{b^{10} x^4}{4} \]

[Out]

-(a^10/x) - (20*a^9*b)/Sqrt[x] + 240*a^7*b^3*Sqrt[x] + 210*a^6*b^4*x + 168*a^5*b^5*x^(3/2) + 105*a^4*b^6*x^2 +
 48*a^3*b^7*x^(5/2) + 15*a^2*b^8*x^3 + (20*a*b^9*x^(7/2))/7 + (b^10*x^4)/4 + 45*a^8*b^2*Log[x]

________________________________________________________________________________________

Rubi [A]  time = 0.0691617, antiderivative size = 123, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {266, 43} \[ 168 a^5 b^5 x^{3/2}+105 a^4 b^6 x^2+48 a^3 b^7 x^{5/2}+15 a^2 b^8 x^3+240 a^7 b^3 \sqrt{x}+210 a^6 b^4 x+45 a^8 b^2 \log (x)-\frac{20 a^9 b}{\sqrt{x}}-\frac{a^{10}}{x}+\frac{20}{7} a b^9 x^{7/2}+\frac{b^{10} x^4}{4} \]

Antiderivative was successfully verified.

[In]

Int[(a + b*Sqrt[x])^10/x^2,x]

[Out]

-(a^10/x) - (20*a^9*b)/Sqrt[x] + 240*a^7*b^3*Sqrt[x] + 210*a^6*b^4*x + 168*a^5*b^5*x^(3/2) + 105*a^4*b^6*x^2 +
 48*a^3*b^7*x^(5/2) + 15*a^2*b^8*x^3 + (20*a*b^9*x^(7/2))/7 + (b^10*x^4)/4 + 45*a^8*b^2*Log[x]

Rule 266

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin{align*} \int \frac{\left (a+b \sqrt{x}\right )^{10}}{x^2} \, dx &=2 \operatorname{Subst}\left (\int \frac{(a+b x)^{10}}{x^3} \, dx,x,\sqrt{x}\right )\\ &=2 \operatorname{Subst}\left (\int \left (120 a^7 b^3+\frac{a^{10}}{x^3}+\frac{10 a^9 b}{x^2}+\frac{45 a^8 b^2}{x}+210 a^6 b^4 x+252 a^5 b^5 x^2+210 a^4 b^6 x^3+120 a^3 b^7 x^4+45 a^2 b^8 x^5+10 a b^9 x^6+b^{10} x^7\right ) \, dx,x,\sqrt{x}\right )\\ &=-\frac{a^{10}}{x}-\frac{20 a^9 b}{\sqrt{x}}+240 a^7 b^3 \sqrt{x}+210 a^6 b^4 x+168 a^5 b^5 x^{3/2}+105 a^4 b^6 x^2+48 a^3 b^7 x^{5/2}+15 a^2 b^8 x^3+\frac{20}{7} a b^9 x^{7/2}+\frac{b^{10} x^4}{4}+45 a^8 b^2 \log (x)\\ \end{align*}

Mathematica [A]  time = 0.0555839, size = 123, normalized size = 1. \[ 168 a^5 b^5 x^{3/2}+105 a^4 b^6 x^2+48 a^3 b^7 x^{5/2}+15 a^2 b^8 x^3+240 a^7 b^3 \sqrt{x}+210 a^6 b^4 x+45 a^8 b^2 \log (x)-\frac{20 a^9 b}{\sqrt{x}}-\frac{a^{10}}{x}+\frac{20}{7} a b^9 x^{7/2}+\frac{b^{10} x^4}{4} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Sqrt[x])^10/x^2,x]

[Out]

-(a^10/x) - (20*a^9*b)/Sqrt[x] + 240*a^7*b^3*Sqrt[x] + 210*a^6*b^4*x + 168*a^5*b^5*x^(3/2) + 105*a^4*b^6*x^2 +
 48*a^3*b^7*x^(5/2) + 15*a^2*b^8*x^3 + (20*a*b^9*x^(7/2))/7 + (b^10*x^4)/4 + 45*a^8*b^2*Log[x]

________________________________________________________________________________________

Maple [A]  time = 0.003, size = 110, normalized size = 0.9 \begin{align*} -{\frac{{a}^{10}}{x}}+210\,{a}^{6}{b}^{4}x+168\,{a}^{5}{b}^{5}{x}^{3/2}+105\,{a}^{4}{b}^{6}{x}^{2}+48\,{a}^{3}{b}^{7}{x}^{5/2}+15\,{a}^{2}{b}^{8}{x}^{3}+{\frac{20\,a{b}^{9}}{7}{x}^{{\frac{7}{2}}}}+{\frac{{b}^{10}{x}^{4}}{4}}+45\,{a}^{8}{b}^{2}\ln \left ( x \right ) -20\,{\frac{{a}^{9}b}{\sqrt{x}}}+240\,{a}^{7}{b}^{3}\sqrt{x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*x^(1/2))^10/x^2,x)

[Out]

-a^10/x+210*a^6*b^4*x+168*a^5*b^5*x^(3/2)+105*a^4*b^6*x^2+48*a^3*b^7*x^(5/2)+15*a^2*b^8*x^3+20/7*a*b^9*x^(7/2)
+1/4*b^10*x^4+45*a^8*b^2*ln(x)-20*a^9*b/x^(1/2)+240*a^7*b^3*x^(1/2)

________________________________________________________________________________________

Maxima [A]  time = 0.974439, size = 149, normalized size = 1.21 \begin{align*} \frac{1}{4} \, b^{10} x^{4} + \frac{20}{7} \, a b^{9} x^{\frac{7}{2}} + 15 \, a^{2} b^{8} x^{3} + 48 \, a^{3} b^{7} x^{\frac{5}{2}} + 105 \, a^{4} b^{6} x^{2} + 168 \, a^{5} b^{5} x^{\frac{3}{2}} + 210 \, a^{6} b^{4} x + 45 \, a^{8} b^{2} \log \left (x\right ) + 240 \, a^{7} b^{3} \sqrt{x} - \frac{20 \, a^{9} b \sqrt{x} + a^{10}}{x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^(1/2))^10/x^2,x, algorithm="maxima")

[Out]

1/4*b^10*x^4 + 20/7*a*b^9*x^(7/2) + 15*a^2*b^8*x^3 + 48*a^3*b^7*x^(5/2) + 105*a^4*b^6*x^2 + 168*a^5*b^5*x^(3/2
) + 210*a^6*b^4*x + 45*a^8*b^2*log(x) + 240*a^7*b^3*sqrt(x) - (20*a^9*b*sqrt(x) + a^10)/x

________________________________________________________________________________________

Fricas [A]  time = 1.57603, size = 278, normalized size = 2.26 \begin{align*} \frac{7 \, b^{10} x^{5} + 420 \, a^{2} b^{8} x^{4} + 2940 \, a^{4} b^{6} x^{3} + 5880 \, a^{6} b^{4} x^{2} + 2520 \, a^{8} b^{2} x \log \left (\sqrt{x}\right ) - 28 \, a^{10} + 16 \,{\left (5 \, a b^{9} x^{4} + 84 \, a^{3} b^{7} x^{3} + 294 \, a^{5} b^{5} x^{2} + 420 \, a^{7} b^{3} x - 35 \, a^{9} b\right )} \sqrt{x}}{28 \, x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^(1/2))^10/x^2,x, algorithm="fricas")

[Out]

1/28*(7*b^10*x^5 + 420*a^2*b^8*x^4 + 2940*a^4*b^6*x^3 + 5880*a^6*b^4*x^2 + 2520*a^8*b^2*x*log(sqrt(x)) - 28*a^
10 + 16*(5*a*b^9*x^4 + 84*a^3*b^7*x^3 + 294*a^5*b^5*x^2 + 420*a^7*b^3*x - 35*a^9*b)*sqrt(x))/x

________________________________________________________________________________________

Sympy [A]  time = 1.81638, size = 124, normalized size = 1.01 \begin{align*} - \frac{a^{10}}{x} - \frac{20 a^{9} b}{\sqrt{x}} + 45 a^{8} b^{2} \log{\left (x \right )} + 240 a^{7} b^{3} \sqrt{x} + 210 a^{6} b^{4} x + 168 a^{5} b^{5} x^{\frac{3}{2}} + 105 a^{4} b^{6} x^{2} + 48 a^{3} b^{7} x^{\frac{5}{2}} + 15 a^{2} b^{8} x^{3} + \frac{20 a b^{9} x^{\frac{7}{2}}}{7} + \frac{b^{10} x^{4}}{4} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x**(1/2))**10/x**2,x)

[Out]

-a**10/x - 20*a**9*b/sqrt(x) + 45*a**8*b**2*log(x) + 240*a**7*b**3*sqrt(x) + 210*a**6*b**4*x + 168*a**5*b**5*x
**(3/2) + 105*a**4*b**6*x**2 + 48*a**3*b**7*x**(5/2) + 15*a**2*b**8*x**3 + 20*a*b**9*x**(7/2)/7 + b**10*x**4/4

________________________________________________________________________________________

Giac [A]  time = 1.11715, size = 150, normalized size = 1.22 \begin{align*} \frac{1}{4} \, b^{10} x^{4} + \frac{20}{7} \, a b^{9} x^{\frac{7}{2}} + 15 \, a^{2} b^{8} x^{3} + 48 \, a^{3} b^{7} x^{\frac{5}{2}} + 105 \, a^{4} b^{6} x^{2} + 168 \, a^{5} b^{5} x^{\frac{3}{2}} + 210 \, a^{6} b^{4} x + 45 \, a^{8} b^{2} \log \left ({\left | x \right |}\right ) + 240 \, a^{7} b^{3} \sqrt{x} - \frac{20 \, a^{9} b \sqrt{x} + a^{10}}{x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*x^(1/2))^10/x^2,x, algorithm="giac")

[Out]

1/4*b^10*x^4 + 20/7*a*b^9*x^(7/2) + 15*a^2*b^8*x^3 + 48*a^3*b^7*x^(5/2) + 105*a^4*b^6*x^2 + 168*a^5*b^5*x^(3/2
) + 210*a^6*b^4*x + 45*a^8*b^2*log(abs(x)) + 240*a^7*b^3*sqrt(x) - (20*a^9*b*sqrt(x) + a^10)/x